package com.aaa.service.impl;

import com.aaa.dao.CityDao;
import com.aaa.entity.City;
import com.aaa.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityServiceImpl implements CityService {

    @Autowired
    private CityDao cityDao;

    public List<City> listAll() {
        return cityDao.listAll();
    }
}
